.test-header {
    display: flex;
    flex-direction: column;
    width: calc(100% - 36px);
    padding: 18px;
    gap: 16px;
    background: var(--on-backgroud-color);
    border-radius: var(--secondary-border-radius);
}

.test-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-text-color);
}

.test-vertical-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

td.incorrect {
    background: var(--red-100);
}

thead {
    background: var(--input-border-color);
}

td.correct {
    background: var(--green-100);
}


.test-stats-container {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.date-tag {
    display: flex;
    align-items: center;
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 8px 12px;
    height: calc(38px - 16px);
    border-radius: 8px;
    gap: 8px;
}

.date-tag img {
    height: 20px;
    width: 20px;
    filter: var(--blue-700-filter);
}

.test-tasks-list {
    display: flex;
    width: calc(100%);
    flex-direction: column;
    gap: 24px;
}

.test-task-item {
    flex-direction: column;
    gap: 24px;
    background: var(--on-backgroud-color);
    border-radius: var(--secondary-border-radius);
    padding: 24px;
    display: flex;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    border: 1px solid var(--background-color);
    transition: border 1s;
}

.test-task-item.focused {
    border: 1px solid var(--accent-color);
}

.test-task-header {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
    margin-right: auto;
}

.test-task-header p {
    color: var(--secondary-text-color);
    font-size: 16px;
    margin: 0;
}

.test-task-header h3 {
    color: var(--primary-text-color);
    font-size: 18px;
    margin: 0;
}

.test-timer-component {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: calc(190px - 48px);
    width: calc(251px - 48px);
    position: fixed;
    top: 24px;
    background: var(--on-backgroud-color);
    padding: 24px;
    border-radius: var(--primary-border-radius);
    z-index: 2000;
}

.test-timer-component h4{
    margin: 0;
    font-size: 20px;
    margin-bottom: 2px;
}

.test-timer-component p{
    margin: 0;
    color: var(--black-600);
    font-weight: 400;
}


.paint-control {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: fixed;
    top: 238px;
    background: var(--on-backgroud-color);
    padding: 24px;
    border-radius: var(--primary-border-radius);
    z-index: 2000;
}

.paint-control.single-control {
    top: 24px;
}

.test-timer-component .task-button{
    height: calc(38px - 18px) !important;
}

#clean-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

#clean-button img {
    height: 22px;
    width: 22px;
    margin-top: -2px;
}

.send-button{
    width: 100%;
    background: var(--on-accent-light-background-color);
    color: var(--on-accent-text-color);
    outline: none;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.send-button:hover {
    background: var(--blue-400);
}

.paint-control #draw-button {
    width: 100%;
    min-width: calc(141px - 24px);
}

.paint-control #draw-button p {
    margin-left: auto;
    margin-right: auto;
}

.paint-control .divider{
    width: 100%;
    height: 1px;
    background: var(--input-border-color);
}


.paint-setting-panel{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
}

.paint-control h4 {
    margin: 0;
    margin-right: auto;
    color: var(--black-846);
    font-weight: 600;
    font-size: 16px;
}

.color-button {
    height: calc(35px - 8px);
    width: calc(35px - 8px);
    border-radius: 8px;
    outline: 1px solid var(--secondary-text-color);

    border: 3px solid var(--on-backgroud-color);
    transition: all 0.3s;
    cursor: pointer;
}

.color-button:hover{
    outline: 1px solid var(--on-accent-light-background-color);
}

.color-button.selected {
    outline: 1px solid var(--on-accent-light-background-color);
}


#black-color {
    background: var(--black-700);
}

#yellow-color {
    background: var(--yellow-500);
}

#red-color {
    background: var(--red-500);
}

#blue-color {
    background: var(--on-accent-light-background-color);
}

#green-color {
    background: var(--green-600);
}

.open-new-tab-icon {
    filter: var(--secondary-text-filter);
    justify-self: center;
    width: 18px;
    height: 18px;
}

.footer-send-answer-container {
    display: flex;
    padding: 24px;
    background: var(--on-backgroud-color);
    border-radius: var(--secondary-border-radius);
    align-items: start;
    gap: 16px;
}

.footer-send-answer-container-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto !important;
    margin-left: auto !important;
    gap: 32px !important
}

.footer-send-answer-container p, .footer-send-answer-container h3 {
    margin: 0;
    white-space: nowrap;
}

.footer-send-answer-container strong {
    color: var(--secondary-text-color);
}

.secondary-text {
    color: var(--secondary-text-color);
}

.footer-send-answer-stats-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: auto;
    width: 100%;
}


.footer-send-answer-container .send-button {
    max-width: 128px;
    max-height: 40px;
    line-height: 18px;
    min-height: 40px;
    margin-left: auto;
}

.switch-label {
    font-size: 14px;
    color: var(--primary-text-color);
}